package com.ruoyi.products.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐对象 buss_coupons
 *
 * @author star
 * @date 2025-06-06
 */
public class BussCoupons extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Long id;

    /**
     * 增加VIP天数
     */
    @Excel(name = "增加VIP天数")
    private Long daysToAdd;

    /**
     * 是否开启
     */
    @Excel(name = "是否开启")
    private String couponsStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**
     * 详细说明
     */
    @Excel(name = "详细说明")
    private String couponsInfo;

    /**
     * 价格
     */
    private BigDecimal price;

    private Integer dayCount;

    public Integer getDayCount() {
        return dayCount;
    }

    public void setDayCount(Integer dayCount) {
        this.dayCount = dayCount;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDaysToAdd(Long daysToAdd) {
        this.daysToAdd = daysToAdd;
    }

    public Long getDaysToAdd() {
        return daysToAdd;
    }

    public void setCouponsStatus(String couponsStatus) {
        this.couponsStatus = couponsStatus;
    }

    public String getCouponsStatus() {
        return couponsStatus;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCouponsInfo(String couponsInfo) {
        this.couponsInfo = couponsInfo;
    }

    public String getCouponsInfo() {
        return couponsInfo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("daysToAdd", getDaysToAdd())
                .append("couponsStatus", getCouponsStatus())
                .append("createdAt", getCreatedAt())
                .append("couponsInfo", getCouponsInfo())
                .toString();
    }
}
